package com.qujia.station.domain.dto;

import com.qujia.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class StationDeviceManageDTO {

    @ApiModelProperty(value = "设备id")
    private Long deviceId;

    /** 设备编号 */
    @ApiModelProperty(value = "设备编号")
    @NotNull(message = "设备编号不能为空")
    private String deviceNo;

    /** 设备名称 */
    @ApiModelProperty(value = "设备名称")
    @NotNull(message = "设备名称不能为空")
    private String deviceName;

    /** 油站id */
    @Excel(name = "油站id")
    @ApiModelProperty(value = "油站id")
    @NotNull(message = "油站id不能为空")
    private Long stationId;

    /** 设备类型 */
    @ApiModelProperty(value = "设备类型 1-pos机，2-双屏机，3-小票机，4-云喇叭，8-云音箱，9-继电器")
    @NotNull(message = "设备类型不能为空")
    private String deviceType;

    @ApiModelProperty(value = "时长")
    private String duration;

    @ApiModelProperty(value = "转换之后的16进制")
    private String durationConversion;

}
